package pws;

import static org.junit.Assert.assertEquals;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class AloClasseSwingTeste {
    
	public static AloClasseSwing alo;
	
    @BeforeClass
    public static void setUpBeforeClass() throws Exception {
    	
    	alo = new AloClasseSwing();
    }

    @AfterClass
    public static void tearDownAfterClass() throws Exception {
    	
    	alo = null;
    }
    
    @Before
    public void setUp() throws Exception {
    }

    @After
    public void tearDown() throws Exception {
    }
   
    
    @Test
    public void localizarNome(){
    
    String esperado = alo.localizarNome("Wlysses Chaves");
    assertEquals("Wlysses Chaves", esperado);
    }

    
}